<!DOCTYPE html>
<html>
	<head>
		<link rel="stylesheet" href="index.css" type="text/css" media="screen" />

		<script src="jquery-1.6.min.js" type="text/javascript"></script>
		<script src="../public/jquery.syntax.js" type="text/javascript"></script>
		<script src="../public/jquery.syntax.cache.js" type="text/javascript"></script>
	
		<script type="text/javascript">
			$(function() {
				//Syntax.defaultOptions.replace = true;
				//Syntax.defaultOptions.layout = 'fixed';
				
				$('#grey').syntax({brush: 'ruby', theme: 'grey', layout: 'fixed', replace: true});
				$('#bright').syntax({brush: 'ruby', theme: 'bright', layout: 'fixed', replace: true});
				$('#modern').syntax({brush: 'ruby', theme: 'modern', layout: 'plain', replace: true});
				$('#paper').syntax({brush: 'ruby', theme: 'paper', layout: 'fixed', replace: true});
			});
		</script>

	</head>
	<body>
		<h1>Syntax: Ruby</h1>
		
		<h2>Grey Theme</h2>
		
		<pre id="grey" class="syntax brush-ruby">#!/usr/bin/env ruby
require &#x27;set&#x27;

DEBUG = false

class Array
  def map_to(with)
    r = {}

    each_with_index { |v,i| r[v] = with[i] }

    return r
  end
end
		</pre>
		
		<h2>Bright Theme</h2>
	
		<pre id="bright" class="syntax brush-ruby">#!/usr/bin/env ruby
require &#x27;set&#x27;

DEBUG = false

class Array
  def map_to(with)
    r = {}

    each_with_index { |v,i| r[v] = with[i] }

    return r
  end
end
</pre>

		<h2>Modern Theme</h2>
	
		<pre id="modern" class="syntax brush-ruby">#!/usr/bin/env ruby
require &#x27;set&#x27;

DEBUG = false

class Array
  def map_to(with)
    r = {}

    each_with_index { |v,i| r[v] = with[i] }

    return r
  end
end
</pre>

		<h2>Paper Theme</h2>
	
		<pre id="paper" class="syntax brush-ruby">#!/usr/bin/env ruby
require &#x27;set&#x27;

DEBUG = false

class Array
  def map_to(with)
    r = {}

    each_with_index { |v,i| r[v] = with[i] }

    return r
  end
end
</pre>

	</body>
</html>